<!DOCTYPE html>
<html lang="en">
<head>
    {% extends 'base.html' %}
    {% load static %}
    <!-- Bootstrap4 核心 CSS 文件 -->
    <link rel="stylesheet" href="{% static 'bootstrap/css/bootstrap.min.css' %}">
    <script src="{% static 'bootstrap/js/jquery-3.7.1.js' %}"></script>
    <!-- bootstrap.bundle.min.js 用于弹窗、提示、下拉菜单，包含了 popper.min.js -->
    <script src="{% static 'bootstrap/js/bootstrap.bundle.min.js' %}"></script>
    <!-- 最新的 Bootstrap4 核心 JavaScript 文件 -->
    <script src="{% static 'bootstrap/js/bootstrap.min.js' %}"></script>
    <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
    <meta charset="UTF-8">
</head>
<body class="container-fluid">
{% block content %}
    <p>{{ server.name }}</p>
    <p>{{ server.ip }}:{{ server.port }}</p>
    <p class="text-danger">服务器不在线</p>
    <p><a class="btn btn-outline-secondary" href={% url 'mcserver_status:update' server.id %}>更新</a></p>
    <p><a class="btn btn-outline-secondary" href={% url 'mcserver_status:delete' server.id %}>删除</a></p>
{% endblock %}
</body>
</html>